#!/bin/sh

fn="ex01"
    echo "make $fn"

# codeLayouter
    echo ""
    perl codeLayouter.pl "$fn"_index.txt || exit

# adjust for c
    [ -e _.c ] && rm _.c
    perl adjust_source.pl c < $fn.c > _.c
    [ -e _.c ] && mv _.c $fn.c

# gcc
    echo "" ; echo "gcc -o $fn $fn.c ... started" ; echo ""
    gcc -o $fn $fn.c `pkg-config gtk+-2.0 opencv --cflags --libs`

